<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit|ie-comp|ie-stand" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" type="text/css" href="layui/css/layui.css" media="all">
		<link rel="stylesheet" type="text/css" href="css/index.css" />
		<title>设备设置</title>
	</head>

	<body>
		<section class="layui-larry-box">
			<div class="larry-personal">
				<div class="layui-tab">
					<blockquote class="layui-elem-quote mylog-info-tit">
						<ul class="handle-box">
							<li class="handle-item">
								设备名称：<span id="deviceName" name="deviceName"></span>
							</li>
						</ul>
					</blockquote>
					<div class="layui-clear">
						<form class="layui-form" id="form-three" action="">
							<input type="hidden" id="deviceId" name="deviceId" />
							
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">传感器1报警值上下限</label>
								<div class="layui-input-block">
									<input type="text" name="temMinCh1" id="temMinCh1" placeholder="下限" class="layui-inputs" onchange="value=/^\d+(\.\d{2})?$/.test(value)?value:''">~
									<input type="text" name="temMaxCh1" id="temMaxCh1" placeholder="上限" class="layui-inputs" onchange="value=/^\d+(\.\d{2})?$/.test(value)?value:''">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">传感器1报警值回差</label>
								<div class="layui-input-inline" style="width: 60%;">
									<input type="text" name="alarmDifferenceCh1" id="alarmDifferenceCh1" autocomplete="off" class="layui-input" onchange="much()">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">传感器2报警值上下限</label>
								<div class="layui-input-block">
									<input type="text" name="temMinCh2" id="temMinCh2" placeholder="下限" autocomplete="off" class="layui-inputs" onkeyup="value=/^\d+(\.\d{2})?$/.test(value)?value:''">~
									<input type="text" name="temMaxCh2" id="temMaxCh2" placeholder="上限" autocomplete="off" class="layui-inputs" onkeyup="value=/^\d+(\.\d{2})?$/.test(value)?value:''">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">传感器2报警值回差</label>
								<div class="layui-input-inline" style="width: 60%;">
									<input type="text" name="alarmDifferenceCh2" id="alarmDifferenceCh2" autocomplete="off" class="layui-input" onchange="much()">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">正常状态数据记录间隔</label>
								<div class="layui-input-inline" style="width: 60%;">
									<input type="text" name="step" id="step" autocomplete="off" class="layui-input" onchange="much()">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">报警状态数据记录间隔</label>
								<div class="layui-input-inline" style="width: 60%;">
									<input type="text" name="alarmDataStep" id="alarmDataStep" autocomplete="off" class="layui-input" onchange="much()">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">GPS位置信息记录间隔</label>
								<div class="layui-input-inline" style="width: 60%;">
									<input type="text" name="locationStep" id="locationStep" autocomplete="off" class="layui-input" onchange="much()">
								</div>
							</div>
							
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">传感器状态背光报警开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="backlightAlarmFlag" id="onbacklightAlarmFlag" value="1" title="是">
									<input type="radio" name="backlightAlarmFlag" id="offbacklightAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">传感器状态蜂鸣器报警开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="buzzerAlarmFlag" id="onbuzzerAlarmFlag" value="1" title="是">
									<input type="radio" name="buzzerAlarmFlag" id="offbuzzerAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">外部电源断开报警启用开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="powerOffAlarmFlag" id="onpowerOffAlarmFlag" value="1" title="是">
									<input type="radio" name="powerOffAlarmFlag" id="offpowerOffAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">外部电源断开报警启用开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="powerOffBacklightAlarmFlag" id="onpowerOffBacklightAlarmFlag" value="1" title="是">
									<input type="radio" name="powerOffBacklightAlarmFlag" id="offpowerOffBacklightAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">外部电源断开蜂鸣器报警开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="powerOffBuzzerAlarmFlag" id="onpowerOffBuzzerAlarmFlag" value="1" title="是">
									<input type="radio" name="powerOffBuzzerAlarmFlag" id="offpowerOffBuzzerAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">电量低报警启用开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="powerLowAlarmFlag" id="onpowerLowAlarmFlag" value="1" title="是">
									<input type="radio" name="powerLowAlarmFlag" id="offpowerLowAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">电量低背光报警开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="powerLowBacklightAlarmFlag" id="onpowerLowBacklightAlarmFlag" value="1" title="是">
									<input type="radio" name="powerLowBacklightAlarmFlag" id="offpowerLowBacklightAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
							   <label class="layui-form-label" style="width: 200px;">电量低蜂鸣器报警开关</label>
							    <div class="layui-input-block">
							        <input type="radio" name="powerLowBuzzerAlarmFlag" id="onpowerLowBuzzerAlarmFlag" value="1" title="是">
									<input type="radio" name="powerLowBuzzerAlarmFlag" id="offpowerLowBuzzerAlarmFlag" value="0" title="否" checked>
							    </div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label" style="width: 200px;">电量报警限值</label>
								<div class="layui-input-inline" style="width: 60%;">
									<input type="text" name="powerMix" id="powerMix" autocomplete="off" class="layui-input">
								</div>
							</div>
						</form>
						</div>
						<div class="layui-clear" style="text-align: center;">
							<span>
							<a class="layui-btn site-demo-active" id="btn-adduser">保存</a>
						</span>
						</div>
						</div>
					</div>
		</section>
		<script type="text/javascript" src="//cdn.bootcss.com/jquery/2.2.3/jquery.js"></script>
		<script type="text/javascript" src="layui/layui.js"></script>
		<script type="text/javascript" src="js/common.js"></script>
		<script src="js/jiuchengjian.js"></script>
	</body>

</html>